package cn.shopping.common.dto;

import lombok.Data;

/**
 * 描述:
 *
 * @author Zhanggq
 * @date 2019/4/4 14:19
 */
@Data
public class QueryItemDTO {

    private String fieldName;

    private QueryTypeEnum2 type;

    private Object value;

    public QueryItemDTO(String fieldName, QueryTypeEnum2 type, Object value) {
        this.fieldName = fieldName;
        this.type = type;
        this.value = value;
    }

    public QueryItemDTO() {
    }

    public String getValueKeyName(){
        return fieldName+type;
    }


}
